//
//  JYJIntroductionCollectionViewCell.m
//  HappyListen
//
//  Created by 冀永金 on 16/9/2.
//  Copyright © 2016年 冀永金. All rights reserved.
//

#import "JYJIntroductionCollectionViewCell.h"

@implementation JYJIntroductionCollectionViewCell
- (instancetype)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        self.tagLabel = [[BaseLabel alloc]init];
        [self.contentView addSubview:_tagLabel];
        self.tagLabel.textColor = [UIColor lightGrayColor];
    }
    return self;
}
- (void)layoutSubviews {
    [super layoutSubviews];
    self.tagLabel.frame = self.contentView.bounds;
    self.tagLabel.layer.cornerRadius = 5;
    self.tagLabel.clipsToBounds = YES;
    [self.tagLabel.layer setBorderWidth:1];
    [self.tagLabel.layer setBorderColor:[UIColor colorWithRed:0.83 green:0.15 blue:0.11 alpha:1.00].CGColor];
    self.tagLabel.textAlignment = 1;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
